//
//  DemandCollectionCell.h
//  BusinessMarket
//
//  Created by Michael Li on 2018/12/9.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class DemandCollectionCell,ReleaseModel,HomeModel;
typedef void (^DemandCollectionCellReturnBlock)(HomeModel *model   ,NSIndexPath *indexpath);
@protocol DemandCollectionCellDelegate<NSObject>
-(void)demandCollectionCell:(DemandCollectionCell *)demandCollectionCell withModel:(HomeModel *)model withIndexPath:(NSIndexPath *)indexPath;
-(void)demandCollectionCell:(DemandCollectionCell *)demandCollectionCell withCollectReload:(BOOL )collectReload;
@end
@interface DemandCollectionCell : UICollectionViewCell
@property(nonatomic,strong) UITableView *tableView;
@property(nonatomic,strong) ReleaseModel *releaseModel;
@property(nonatomic,strong) ReleaseModel *releaseSubModel;
@property(nonatomic,copy) DemandCollectionCellReturnBlock
returnValueBlock;
-(void)reloadData;

@property(nonatomic,weak) id<DemandCollectionCellDelegate>delegate;
@end

NS_ASSUME_NONNULL_END
